Using built-in optparser to parse arguments