updated node script