in reply to config tokens substitutions
Post the script you have written so far and explain exactly where you are stuck. Then you'll probably get much more concrete help.