preliminary support for calling external functions defined outside the subsite