Add support for config directories