Changed from getopt to argparse