added tfidf; added script to generate sql scripts