Moved configuration variables to the beginning of the file.