Hacky way of switching dbs