preliminary version of switcher daemon