added graphing script