Updated the variables for logging purposes and other dealings.