Fix for LUA script.