modyfied deploy.rb