allow scheme to be configured