Adding the registry handler
Copying a patched jar