Modifed deploy.rb