Add the log and the script to plot a dir