testing onNodeScripts