some streamlining in script_node