minor tweaks to the urllib2 call