swapping httplib2 with urllib2 imports