added figure scripts