expand_env_vars