Script cleanups.