first pass at migration script