Write out links