update to command line argument parsing