enable dynamic switching between sites