First version of EBPatcher