Added hasattr for some settings