I'll add the switching mechanism to the local version in a separate PR BTW.