bt-ipsp: Modify _execute_command function