Deposition of Schottky electrodes