Changed the window location so the page reloads properly.