Basic patching

General purpose softpatching