Added a script to save the net activity in a file. In these moments the file created have many corrupt data