Create a switch to determine what repo objects to refresh.