Improve tethering script