moved require 'open-uri' to config