* fix: fix a couple of OS cache invalidation issues Fixes issues where we might be using outdated os definitions. * use Config and fix style issue * only pull in settings from config.php (otherwise will possibly contain populated os config)