potentially redirect only if we're in the sandbox.