Hi,
I suspect that the form is set for manually preserving script changes. Go to the File > Form Properties > Defaults tab and set Preserve script changes to Automatic:

I would set both subforms to ivisible/hidden and then the user will make the appropriate one visible on the click event.
Come back if that does not solve it, as you can include script in the docReady event of the radio button exclusion group to fire the main script.
Niall