Small fixes to deploy.rb