Final migrate.js file