Changed implementation to Mechanize