order dependencies to put the migration tool at the end