adding plotting script.
still adding updates.