Updated script to use requests instead of lame urllib2