delivery_mode=1

I really just added the deliveryMode code.  Not sure how Chris' stuff got in here.