script to fix a production write of bad data