added comments to the script