tweaks to node script