Fix #38: add 'switch' command