Include missing imports and update settings with missing variables