script to delete network