add path arg to compute.slices to save data relative to wd