Moved settings to top of source file.