First cut of the migration scripter.