moved analytic script