Move some tasks to migrations