split out modespecific config