make links open in new tab and redirect home after new download created