Introduced retrieve_stats.py