Implemented shebang detection.