add server-switch-hook