There are probably more well educated persons who can answer this, but I'll give it a shot!
You could run the scripts with some conditionals. If something happends then do this. else do that, and so on. You will have to look up some Ruby learing rescources to look into that.
Otherwise. You can use different icons to "launch" each method.
In any way it would probably be good to put both script in it's own method so they don't conflict with each other.
And then you could call them IF something happends like the first advice.
I'm just giving you the BIG picture here. You probably have to read up a little on ruby.
If this isen't what you was asking for, and the answer is to basic I apologize.
Happy coding!