update script to have external links open in new window