reworked config compilation