This script
OnExit, ExitApp Return ExitApp: saveData() Return ExitApp: doSomethingStupid() Returncould become internally to
OnExit, ExitApp Return ExitApp: saveData() doSomethingStupid() Return
That would allow us to create something similar in code above, where the subroutines are from separate scripts; may be in a library.