generate dot files every step of the way