making some modifications to the light timeout