Cleans up scripts.