Why simply not use faucetbox's script? It's the most secure faucet script out there.
I have a faucetbox's script...What is to update to use it with faucethub?
Recent versions of faucetbox script support FaucetHUB.io out of the box. Just switch the service in admin panel.