Directory search fixed for templatinator.