Updated lua example