moved argparse in analyze.py