Add script to get nodes without successors