Handle migrating automatically