Closing scripts.