move migration into own script