some minor work on the scripts and the writeup