added functionality to auto launch the browser