fig2dev script