Add migration script from 2.x