Oracle Trials: MacOs functionality

Another set of functions to enable MacOS support.