Small update for aamod_brainmask: if no threshold is specified, use the mean image intesnsity as a threshold