Moving from optparse to argparse for more convenient parsing.