changed the way arguments are parsed and passed into main()