Modified mk_ggcmi.sh