Attempting to identify templates and hide the right ones