save before writing connector in julia