python scripts for data fixes