Thanks for that, wrote it a few months ago and didn't double check. Fixed that and a few other things.