[WIP] Lua plugins support