run all tokens through escapeText
Added option to trigger an export