add info about how the script works