@BWSounds David is right, but if you make a reference to the scriptprocessor
you can link the 2 buttons together and still have the opportunity to use the mainbtn callback for other purposes, like this:
That is if you don't want to move your code from the other script processor