some bug fixes and changes in structure. added duplicate else clause
this is so dumb. new file
some more set up, right before migration logic
copypastaed some migration logic from old script
aklsdfjakslfjalsdkfj