fix mixpanel script