            version = result.version;
            evidence = json.evidence;
            if (json.title) {
                document.title = 'Czoodle.cz: ' + json.title;
            }
            app.ports.loaded.send(json);
        });
        app.ports.modify.subscribe(async function(data) {
            data.project.evidence = evidence;
            const { encryptedData, iv } = await encryptJson(data.project, data.secretKey);
            const toSend = {
                encryptedData,
                iv,
  