changed production.rb to use hosted-style requests