added parameter -r to switchboard