Adds dnload link logic to publications