Added check for wget.