deferred Lua functions now handle args correctly