Adding analysis.py