added production setting to settingslogic