Adapt custom betas example to commit d0e9cdba4e947f6a17a81f0dcd883aa572951f6d
Adapt custom betas example to commit cbe6df0c244f92bb54b08061578bcad4758740dd