add scripts for nodes and redistribute text