sensors script