Your script is working well for me also.
For others who would like to use this solution, but don't have or want a linux box lying around running all the time, I have a suggestion.
Go to lowendbox.com or wherever you like, find the cheapest, lowest spec'd Virtual Private Server you can, and run the script there.
I rented a linux virtual machine for $12 for the year, selected a Ubuntu image (because I'm familiar with Ubuntu), copied over the script and set it up, installed crontab and configured that, and now I'm done.
Could be a very simple solution for people who just don't want to mess with another box in their home. Given the overkill that even the lowest power VPS is, I could add dozens of people to my machine without breaking a sweat.
Hope this idea helps.