Now uses configurable appSettings.