Modify template path