dbconfig and ajaxconfig added for ease of use