Missed this in the earlier commit. works now.
Reverts a change to use id instead of pid for destroying artifacts.
Merge pull request #805 from afred/digitization-still-broke-804

Missed this in the earlier commit. works now.