Changed deliver to deliver_now to remove deprecation warnings