Add SET TVARS option. Closes bug #31566