rewrite plot and dirpicker
redo plotting