Changed the environment precedence back