buildContext and runContext in node.cc called from plnode.cc