Changed env detection