Answering my own question for anyone else who comes across this thread.
The solution can be found here: