added check for wget