Set default program in c-m-s (#790, reverts 711fb64)