works with genTokenOutput() and also "-lt" list option added.
Authored by: lomecb 2005-06-22
Parent: [r621]
Child: [r623]