How do you place an image from the local file system using BatchPlay?

Two followup question …

*) Do I have to save the token via “localStorage.setItem(“persistent-file”, token);” so it’s accessible after restarting Photoshop?
*) Can the token be referenced by it’s string (like “persistent-token/75ef3924-5bba-451a-9c73-e37cd8a0d19a”) or is it an object?

I tried to pass the token to the function via its string value, but somehow this doesn’t work …
// PLACE EMBEDDED
async function placeEmbedded(token) {
const result = await batchPlay(
[
{
“_obj”: “placeEvent”,
“ID”: 6,
“null”: {
“_path”: token,
“_kind”: “local”
},
“freeTransformCenterState”: {
“_enum”: “quadCenterState”,
“_value”: “QCSAverage”
},
“offset”: {
“_obj”: “offset”,
“horizontal”: {
“_unit”: “pixelsUnit”,
“_value”: 0
},
“vertical”: {
“_unit”: “pixelsUnit”,
“_value”: 0
}
},
“_isCommand”: false,
“_options”: {
“dialogOptions”: “dontDisplay”
}
}
],{
“synchronousExecution”: false,
“modalBehavior”: “fail”
});
}

Thanks.