Added settingslogic to config