Env-var passing successful, enhanced logic in ERB templates.