added url redirection, not tested yet