removed urllib2 import as no longer used