...
            if args.sleep > 0:
                time.sleep(args.sleep)

        log.write(f"[DONE] ok={ok_count} failed={fail_count}\n")

    print(f"PH3 DONE: ok={ok_count} failed={fail_count} total={len(files)}")
    print(f"OUT:   {scores_path}")
    print(f"INDEX: {index_path}")
    print(f"LOG:   {runlog_path}")
    print(f"FAILS: {fails_dir}")


if __name__ == "__main__":
    main()