Phil, I'm not seeing where you can use scripting to add new merge fields. Looking at the program, those fields are stored in the /mas_system/SY_TOKEN.M4T file based on the document type so they are pre-defined. I don't even see a master developer utility to add new records.