cleanup migrate script