reset the downloads table before a hook run
log at the start of each server-side script for clearer log.txt records