added new utility script (which can replace the old awk script)