Added debug mode to re-enable all patches