updated scripts file to open png device and ploting on it instead
of plotting on default device and copying it to png

generated plots are also updated