updates to scripts and figs