Fixed to run in Produce Figs script