Added flag to prevent mixpanel logging in development