Added flexible export functionality for network