added analytic scripts