Update smc.sh