added plotting script