new graphing script