slight updates to graphing scripts