updated processTemplate to handle ${{}} as 2 digit fixed numbers prefixed with a dollar sign