generate digests in threads
added new script