added a function to export network attributes