Setting correct template path