make config directory a node attribute.