- added database name to preferences file and it's now dynamic for various environments