Simplified the running of the program.