Added -O filename to wget calls to avoid creating multiple versions of the downloaded file