Change layoutGen global variable to be set with new 'set' syntax.