change deploy.rb to counter authentication errors