Create buffer switch commands.