Added first attempt at adding COSP output variables