started adding yaml config generation to gen.tcl