Miandad takes charge of Pak