still can't seem to get the batch request to accept the attached files, but fixed a couple other issues at least