There is not way is there of getting the ncr to retake the correctional facility without getting involved with the powder gangers. If there's not I'm just going to kill them all and not worry too much about what the ending says. This playthrough it's my frontier justice character, who won't have anything to do with the pg's.
