added twilight anti bright modification