add embed and link buttons to the export code