change order of commands