Move the code to run everything to a new command.
Use the commands.