Program can now be run from the command line