changed script from lockstep to bma