Redirect needs to be before header (hurr durr)