cleaned up syn_lec.sh