Sample is now driven by lua function

Signed-off-by: ruffenman <jorge@jorgeccapote.com>