If the script is a button script, then yes, it's saved in the screen. Download a screen editor like Screen4, open and save the screen with a new name for each profile.
In Mach3, use View >Load Screen to load the specific screen for each profile. Then edit the macros in each profile.