I'v seen scripts such as electrons custom weather script wich seem to use some advance debuging techniques. I was wondering if someone could explain the diferent techniques that can be used to debug scripts. I like the fact that electron can turn his script on by passing a certain string to the sub main. Can you explain how this is done. When i try to figure it out by looking though your code i get lost and can't make out how it works.