Thanks Jooel,

Please email me your code so that I can review your changes as well as tidy up the script in some other areas.