Fix permissions (again)
Add support for local conf file
Merge pull request #239 from asergi/master

Add support for local conf file