autodetect bin name
corrected bash syntax
Merge pull request #14 from minettiandrea/master

Autodetect project name