Changed structure for dinamic config.