Added passing an array to LuaFunctions