moved ma config into runstage