Fix for token script.