Update shebang (#!). Resolve Groovy interpreter from environment.