Added more logging to download routine