Finished up the script to fix all the transactions possible