added some informative logs during my reading of the test-lessons.sh
added a replacement when "tree" is not found (in the train...)