removes layout and grid switches from main config into a specific layout switches files