Cleanup quiet mode. Added sudo verification if does exists and permissions are enabled.