added script to build vocabulary