Download all resource

Fix the download_all_resource. 
If someone use it in their script, it will work if there is one file or more. 
case 1: One file -> download it and unzip it if it's a zip file
case 2: more than one file -> download all of the files as a zip and unzip it