Added global vars for DBname and other lists