make the bin file executable
make the no-config-file case not crash
Merge pull request #2 from clux/master

A few extra changes to make it work properly on linux