Update nameBasedAnalysis.py