The webhook script needs to use the rewind technique