Fixing redirect with sudo