Adds the ability to set DB for local or remote