5091 adjusted related word output, and uncommented related code in template