added stdin word-list support