Clean up scripts, and make sure it actually works.