Updated awk script.