working config tree generation.