Use migrate.php; change migrate.php to accept multiple queries in an array.