Allowed for mutiple databases depending on the directory prefix