Optogenetic versus electrical stimulation of dopamine terminals in the nucleus accumbens reveals local modulation of presynaptic release.