add site switch support