wip - added support for config files