updating shell script output for consistent logging