How can I enable the Laplacian Lightning Generator? The Laplacian Lightning Generator addon broke with some recent API changes, as reported in this bug.

Attempting to enable it results in this:

Traceback (most recent call last):
  File "/usr/share/blender/2.68/scripts/modules/addon_utils.py", line 294, in enable
    mod = __import__(module_name)
  File "/usr/share/blender/2.68/scripts/addons_contrib/object_laplace_lightning.py", line 117, in &lt;module&gt;
    scn = bpy.context.scene
AttributeError: '_RestrictContext' object has no attribute 'scene'


As it was only some API changes that broke this, I assume (also from looking at the error) that this might be a fairly trivial problem (I'm inexperienced with python, so that might be a false assumption)

Are there a few simple changes I can make to get this addon working? 

I know it works to run it in the text editor, however I would like to be able to use it as an addon without having to re run it every time I start blender.
Read about the API change:
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Addons#Restricted_Context

And here I posted an example script to show a possible solution:
http://wiki.blender.org/index.php/Extensions:2.6/Py/API_Changes#Restricted_Context

There's also a hack to circumvent the context restriction:
Add an app handler for the scene_update_post event, let it remove itself and run the initialization code in the body.