uncommented scripts, added cleanup of vlans, and have the pthread exit