adding sm-c.sh and sm-c_debug.sh