analytics script update