change order of commands in time macro