add shell script to process output logs