changed command line argument parsing to apache commons library