Updated Script to address Topics with Duplicate Names. Changed Settings values to strings (True False) versus numerical values (0 or 1)