Steam removed the ability to get multiple IDs at once, so I updated the script to run one at a time.  It's slower as a result, but is functional now.  I added some comments/restructured code as I was trying to figure out how the script worked, so please excuse any differences in code style.