Add comments to show what wrap.lua is doing