fix analytics script file