Change flag recognition