correct migrate script