use custom task to run migration