changed template redirects