Environment detection updates