can now set template with env var