added support for setting configuratio file