Edited networkMonitor - script