Merge pull request #21 from ferreum/master

Fix shell script path detection and check shell script error