changes to lua