New changes to lua behaiviour