Condenses config