During a deployment process on a cloud platform, a DevOps engineer encounters an issue with some scripts that are used to set environment variables for a series of new virtual machines. The environment variables are critical for the application configuration, yet they are not being applied correctly. The scripts have been tested successfully in a development environment. What is the BEST next step for the engineer to troubleshoot this issue in the production environment?
Immediately roll back the deployment and start over, assuming a failure in the deployment process.
Check for environment-specific parameters or conditions within the scripts that do not align with the production environment.
Override the scripts by manually setting the environment variables for each virtual machine.
Completely rewrite the scripts from scratch assuming that they are now invalid for the production environment.