Rework deploy.rb file.