tidied up command line arguments