Simplify runAnalysis.py