Modified getAppSettings
Modified getAppSettings