reverted some deploy.rb changes
revertes changes #2