How to get properties of lights added in WED through script?