Changed $_ENV to getenv() to address errors