Add comments, rename a few things.
Improve comments.
Get scripts working again.