The bang was missing! But there's a neater way to do this anyway. What was there before would still have worked, but I think it would end up being executed by /bin/sh since it had no shebang line.