Add exception message for script execution failures