Added some comments to the script