added the ability to specify a single databse