Lua fix, python optim and headsecks.