Implemented ENV conditionals