more updates to the graphing script