changed some places in code.

download_res replaced by urlretrieve