add lighting templates, lumen fixes, and modify activity operation