smart hd monitoring script