allow the browser selection, and for chrome, add arguments to allow reading local files