Added code to generate the meta network.