correct the payload var name passed into #script