Make ready the migrate script