changed getstatisticsscriptpath to newest location