Split the run command into a prepare and a run command.