condition for environment settings