add matrix name to final adj files
generate main condor script