updated Deliver.cs script