bug fix and added exported database file