adjusted deploy.rb