Fixed mixpanel script so it passes lint