change script to tweak code for spooling difference graphcs