update on plotting script