Add environment var on init define
Use var environment on templates