Dunno why i cant edit my post but here goes anyways. I wanna go a little deeper into my program I'm making. I have a GUI Window that is maximized. It has 5 tabs. Each Tab has a label across the top and a embedded IE window below. Looks alot like a tab based internet browser. The Label has info at what the script is doing, (IE. Refreshing the page, waiting, clicking a link, filling in a form, etc.) The embedded IE windows is where the action is taking place. This works fine, but I need to be able to run one in each tab at the same time. I'm trying to use includes and functions and I just cant figure out how to do this.