Add Statistic script
Working statistic collection script