Ammended script to make the backlight turning off work