Got control loop working with pipes and remote pipe commands