added an explanation of the script