put r2 behind a feature flag