refactored config files