replaced analytics script