sh.rs: multiple program support