use argparse to parse command line arguments