Updated to try to exclude more environments.