Problem: shebang is not portable between system
Solution: use `#!/usr/bin/env sh` shebang which should be cross platform

* Also changed the generated comments, so it's more obvious where they
  originate from.