Improve server config loading