Fixed: validation of use_sudo