Adding knotID and knots index in export