Code used to integrate FACT donation box with Scala