Regulation by Software