Added apply url redirection