Replaced nokogiri with hpricot parser