Fixes config file loading
Merge pull request #248 from maciejlew/master

Fixes config file loading