added command line argument exceptions