improve output of script and format README.md