charmxi sdag: generate connect using the same code as everything else