wrote script to flip things
updates to cl