Added comments to clarify script intent.