Two more patches, which I'm not so sure about. These are to support a script replacing /usr/bin/browser.