Final insert scripts

New method to use EOS to represent the end of a sentence.