Add support for config directory