added plot4 script