Filter for gatekeeper enabled, load global var on init