Tidy up scripts.