Move the commands to the right place