Woothee lua implementation