fix sensors script loading