add support for sandbox switch