Fixed env var type declarations (const -> var)