Script cleanup.