refactor send_command to execute in main_loop so all screen do that automatically