added a check to be sure that w3m is installed