allow setting ninsca, ninmap and adapt if q profile as input