This was the only way I could get it to work. As a singular call it errored locally because of file permissions. I can investigate further and refine as necessary. This is the first pass.