Fix template to work with environment indicator.