deploy.rb cleaned up