revised deploy.rb file