updated the hotspot script