Adding buffer switching customization