expanded the description of how the script works