Added connection name to allow multiple databases open simultaneusly.