port make_inspiration_ml.sh to plain awk