Make sure lighting section is written out at correct hirarchy