Added logging and changed DB name.