Optimize $_ENV implement