add example script w/ escape color seqs
validate input and simplify processing