modified deploy.rb add support for resque