Need help Creating a new layer with an image in the API

I am having trouble with Alchemist

The below code is giving a syntax error for some reason. It is the generated code

image

const batchPlay = require("photoshop").action.batchPlay;

const result = await batchPlay(
[
   {
      _obj: "placeEvent",
      ID: 2,
      null: {
         _path: "C:\Users\benja\Downloads\Page 1.png",
         _kind: "local"
      },
      freeTransformCenterState: {
         _enum: "quadCenterState",
         _value: "QCSAverage"
      },
      offset: {
         _obj: "offset",
         horizontal: {
            _unit: "pixelsUnit",
            _value: 0
         },
         vertical: {
            _unit: "pixelsUnit",
            _value: 0
         }
      },
      replaceLayer: {
         _obj: "placeEvent",
         to: {
            _ref: "layer",
            _id: 2
         }
      },
      _options: {
         dialogOptions: "dontDisplay"
      }
   }
],{
   synchronousExecution: false,
   modalBehavior: "fail"
});

Now the above being said, my true aim is just to be able to speed up a photobashing workflow. So how would I go about setting a new layer with an image that I get back from the cloud? What is the implementation, I can’t figure it out. Actions aren’t working right, and I am not seeing much in the API about setting a layer with a new image. However, I KNOW it can be done.