fixed some issues with the database
added definition lookup to word info script