replace config with layerlist