Updated from optparse to argparse