Changed downloading images by using mechanize rather than urlretrive