added statCollect.py