Made cook lighting optimizations