make provision for this function to look up an env. variable so that one can tweak the heuristics to find shell scripts BTW it would probably make sense to search in $PATH as well by default