add logging and command line flags
adding an awk script to post processes data