adding updates to plotting scripts