script for extracting networks with largest max effects for adnet