remove M1 commands on job completion