Moved some settings to localsettings