updated the awk script and readme