I see a lot of Lua scripts beginning with: #!/usr/bin/env lua
I think this is done to avoid hard coding the path to the lua interpreter; the location of "env" is more predictable than the location of lua, and allows the script to locate the lua interpreter using the current path.