Script for generating tokens for existing nodes.