modify template to append g for chrome transform