Wreck migration

Fixes #9