added preprocessing script that reverses the stock input files.
commiting working changes to use on laptop