changed sentry setup to app setup.