added __dict__ to stats
added separate command to extract junctions