Started writing reorganize.py