further fleshed out ScriptBase plumbing; added on_load() and on_unload()