Added comments to the script to make it more obvious