Setting the proof type and storage location