fancy config writer