Add script to find last word in a line.