Add possibility to run migration automatically