Allow an external database to be specified