updated to reflect changes to getstats.py