QAART-363 Refactor to run disableOptimizely at setup