Updated sample.lua for new metadata.