Fixed bug in order of command line arguments.