Adding ability to write migration files