updated clean up script to include networks and routers deletions