Updated webapp:download task with capture command for wget