update anonymization script to make it work