Modified environment detection