added --path to pivot command