script 9 and figures