Added window.open back in