close channels and some more touchups for remote deployment