     exceptions = HTML.filter_list(:exceptions, all)
     protocols = HTML.filter_list(:protocols, all)
 
-    generate_content(output, config, modules, exceptions, protocols)
-    generate_toc(output, config, modules, exceptions, protocols)
+    uuid = "urn:uuid:#{uuid4()}"
+    generate_content(output, config, modules, exceptions, protocols, uuid)
+    generate_toc(output, config, modules, exceptions, protocols, uuid)
     generate_nav(output, config, modules, exceptions, protocols)
     generate_title(output, config)
     generate_list(output, config, modules)

    delete_extras(output)

    epub_file
  end

  defp templates_path(other) do

    end
  end

  defp generate_content(output, config, modules, exceptions, protocols, uuid) do
    content = Templates.content_template(config, modules ++ exceptions ++ protocols, uuid)
    File.write("#{output}/OEBPS/content.opf", content)
  end

  defp generate_toc(output, config, modules, exceptions, protocols, uuid) do
    content = Templates.toc_template(config, modules ++ exceptions ++ protocols, uuid)
    File.write("#{output}/OEBPS/toc.ncx", content)
  end

