adjusted inclusion of divs expt so prints message if div with id not found, exits if no text to generate from e.g. if only one div and not found