fix baseline script
Merge remote-tracking branch 'upstream/master'
fixed bug which was looking at chars instead of words