Extract #execute_command