First commit, working version of sequence_fix.py, need to clean up and add logging