refactoring the config to version 1.7