added support for custom config files