Added support for custom executables in shebang lines in scripts.