added plot data script