add endpoint configuration option