Added function to redirect browser.