Update generateWordList and word_features to work with new paths