Add script that generates results for threads