I'm fiddling with the .Package class and have found that if I create a new package from an array of rexx code, the new package is immediately executed by the init method. Is this the way it is supposed to work? Example:

a~append("say 'hi this is me'")
a~append("say 'bye'")

Also, if this is correct what's the purpose of the setSecurityManager method if the code has already executed? I'm probably far off track here but would be very grateful for a push in the right direction. Thanks for pushing.