Again, just adding some comments to the script to make it easier to follow