added environment vars to template