changed log plot scripts