fix deploy.rb for environment variables