Makes it possible to run simulation from command line