use urlretrieve properly