Fix Mixpanel script