prepare the two Overlay scripts to use them in FastChain
wait !52711 (merged) to be merged first.
@jchapman, @tadej