Bug fix in runData.py