Add local command display and revise local command function.