added added some comments to the script