refactor config settings.