Sorting config out