Some lua additions