Add ability to specify read and write connections