cleans up command line input and adds verbose option