[Migration] Moved migrateSettings() to bottom of file

#61, #11