added build-figures.R