Add command call function

Add command call function