Fix config files management