script for plotting and plots were add