some changes in exec.m