[PD] Lua and PD (update)