updated sentiment_score_gen.py