Add default for environments.
Implement fallback for env vars.