Updated the code so that link opens in new tab