simple env var-driven template utility