made some changes to the script output