add optional protocol for custom toolbar