minor changes; started plotting script