Switched query lib from Mechanize to RestClient