Updated code to fix bad import and invalid dbURL.