Update template to quote environment variables.