added cmds for swtiching buffer locations