Revert changes to receive script
to avoid sending the same msg
back to the queue