add gcom.sh and smem_t.sh