added option in download fct. to use wget