This is a resubmission to address a critical bug. I apologize for the rapid resubmission.
Kurt had reported an error caused by the unlink command. My previous fix led to another bug that meant old downloaded results were being saved and used instead of the new ones. This update fixes that.