Executes migration