Added comments to describe what the script is about.