I think you need some means of disconnecting the circuits at the detached building if there is more than one circuit