finished 2nd awk reformater and updated main .sh