An automated puppet module generation tool