Change semantics of script loading/unloading