Sort out configs