fix script to remove constraint on animal attributes