add an example script for pipelines

Mostly for my own reference; to be integrated into the main code.
add a timestamp to each result when storing back into ES