Finishing up the scripting.

Also I ran the formatter over the entire repo.