make scat_opt take M