Add version into migrating script