initial update to add sample lua hooks