wrote the script