I tried that out and it works great, just one last question. How can I make it unloade the modules even when the script crashes. Thanks again for the help, things will be a lot less annoying now. asdf_46