fixed analytics, allowed creds.json for local dev