Improve output of script.