cleaning up intake script with argparse