Script clean up.