changing link to output