Changed deploy.rb to ensure deployment is possible