adding sentry to loader and platform setup