Reformatted Mixpanel script for validation