also handle setting cnxOptions directly