Changes related to debug log functionality and download remote files