Before the 2006 primaries, according to regulations issued by Secretary of State Shelley and a law passed by the legislature and signed by Gov. Schwarzenegger, Alameda and other counties that use touchscreens will have to retrofit their machines so they generate a voter-verifiable paper ballot.