Wow guys thanks for all of the replies. I wrote this months ago and totally forgot all about this thread and just found it again. If anyone has any improvements or suggestions I will be happy to add them.