changes to light/ portal.analysis