Patch resource loading