add persistent scratch