Added database change for sector and general improvements.