The reason why I'm asking is because I have several functions within my script but for some reason it executes them even if the conditions of the case statement aren't met. I don't know why
Do I have to put exit at the end of the script and then define the functions?
I will look at that website though. Thanks for the tip.
All your inputs are helping a lot!!