update analysis with argparse