install[scriptscript]: add a generalized open() handler