expand input env vars