Removed dead code
Redirection working