word_database and script to mongo