changes related to cmd.d etc