Scripts and functions for OBK implementation.