implemented LuaScript class