updating command line argument handling to add options