Controlling the Conductivity in Oxide Semiconductors