Worked on adhoc_statanalyze.py