Added database settings check