run only on local machine, this copy does not work because of figure paths