added figure generation scripts