several small updates and modifications to makeSentences.js