edited connectivity file and tidied SDM scripts