Oh, well then! I suppose I should have looked into that myself. :P
Thank you all for all the help, as far as I can tell the script works great now.