Added script, change statistic data to double to avoid overflow