Allow override productionMode in config