script to print formatted flow table