scripts and figures