Fix redirects and stuff