We use a modified version of this which works on a few more machines, sorts the output thumbnails and makes a slightly neater (and more security conscious) header. It is available for download here.
It should be noted that all rights to this program remain with the original author Samuel Hocevar ([email protected]) and Shonky Internet claim no rights at all.