add runtime switcher