graphing script added