add if_command in shell