adding debug level logging for download