mc.sh, from darwin11