Add missing sudo command to tee