The script can only be used on 6.0x as the junkmail folder is located a slight different place on 5.6 (as far as I recall). On 5.6 the junkmail folder is not preceeded with ";" but that can obviously easily be changed in the script. If anyone can confirm that I recall right I can release that as well.
You are right about the 10 days vs. 20 - that was my setting when I tested but I decided to change it last minute.
Rgds,
Jesper