reading the script