Set layouts with config