Yes, I know the render is noisy – I am just testing the script so the quality settings are quite low. And for people thinking “isn’t this what the Light Select Render Element is for?,” you’re close but that doesn’t include global illumination like this does. Anyway, after it’s done, your scene is restored and the images are ready to be composited. Animation people might find this to be overkill but I do stills, so I do this stuff a lot. It currently works with all V-Ray light types, domes, environment map GI, and I’m just working on support for material mesh lights and material self-illumination.