version of migration_tools.exec that displays the sql