how do I run a command or script on every vc switch