Enhanced Substitution of strings

Enhanced Substitution of strings for variable capabilities to enable
better 3rd party transcoding
BUG FIX