Change environment detection