activate and switch infra