mark env vars as optional or required