Port all Lua scripts to Malbolge.

Reopens ticket:3597.