script migration