Added more verbose debugging to uploader