SSH, Monkey,
Thanks for taking the time to reply. Your explanations were very helpful. I thought that this may be the case but wasn't sure. Now that I have a better understanding I should be able to proceed without problems.
Hehe, I guess I should have taken SSH's earlier advice and RTFM!
Edit:
I made the changes and everything works great. Also the code is much cleaner now as well.
Thanks for taking the time to reply. Your explanations were very helpful. I thought that this may be the case but wasn't sure. Now that I have a better understanding I should be able to proceed without problems.
Hehe, I guess I should have taken SSH's earlier advice and RTFM!

Edit:
I made the changes and everything works great. Also the code is much cleaner now as well.