Improvements to the script to provide better log messages