Changed config generation to be more human readable, added functionality to save over existing configs non-destructively