Graphing script