check for script instead of shell
Merge pull request #248 from continuuity/hotfix/shell-wrapper-script-detection

check for script instead of shell