improve example deploy.rb