initial migration and settings tweaks