Replaced sys.argv length checking with argparse (needs work).