Added rudimentary support for passing arguments on the command line.