Quickly Save multiple images
By the time you get the script completed and run it, you may have your files loaded.  Loading them to your computer in a folder with subfolders based on file sizes, then updloading them is usually best. Load from smallest image sizes to largest folder.