improve connection (to jed) setup