Enhancement for the command Manager

fix #128 (and so #103).