setup lighting publish hooks