This too is needed a couple lines later, breaking the distributed server. Moving it back out. In fact, I think I may just move the remaining two out of the if statement, as they're not hurting anything.