Added -log options for monitor and plot scripts