script to add timestamp to lines output to console