add logging of downloads