Added database loading steps