Update an error message to display the correct script name