Changed environment detection