amended script workflow (may no longer convert/use JSON)