Moved dependency and update check to deliver.rb