support for custom config file & directory