corrections to deploy.rb