migration script work in progress