updated the graphing script again