changed settings to check if localsettings is present